#ifndef DEPOTSTRINGLISTMODEL_H
#define DEPOTSTRINGLISTMODEL_H

#include <QObject>
#include <QAbstractListModel>
#include <QStringList>

class depotStringListModel : public QAbstractListModel
 {
     Q_OBJECT

 public:
     depotStringListModel(const QStringList &strings, QObject *parent = 0)
         : QAbstractListModel(parent), strList(strings) {}

     int rowCount(const QModelIndex &parent = QModelIndex()) const;
     QVariant data(const QModelIndex &index, int role) const;
     QVariant headerData(int section, Qt::Orientation orientation,
                         int role = Qt::DisplayRole) const;
     Qt::ItemFlags flags(const QModelIndex &index) const;

 private:
     QStringList strList;
 };

#endif // DEPOTSTRINGLISTMODEL_H
